<form name="form1" method="post" action="">
<table width="100%" border="0" cellspacing="1" cellpadding="4" align="center" class="table">
    <tr>
      <th colspan="2" class="bighead">Website Access </th>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">Username</div></td>
      <td width="59%" class="text">
        <div align="left">
          <input name="usernames" type="text" size="40" class="inputbox" />
        </div></td>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">Password</div></td>
      <td class="text"><div align="left"><input name="passwords" type="password" size="40" class="inputbox" /></div></td>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">Administration Panel Access Level</div></td>
	  <td class="text"><div align="left"><select name="access" class="inputbox">
			<option value="0">Administrator Access Level</option>
			<option value="1">Scouter Access Level</option>
			<option value="2">Troop Leader Access Level</option>
			<option value="3">Group Leader Access Level</option>
			<option value="4">Second Access Level</option>
			<option value="5">No Administration Panel Access</option>
      </select></div></td>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">Group</div></td>
      <td class="text"><div align="left">
	  <select name="team" class="inputbox">
	  	{section name=teams loop=$numteams}
			<option value="{$teamlist[teams]}">{$teamlist[teams]}</option>
		{/section}
      </select></div></td>
    </tr>
    <tr>
      <td align="right" class="text"><div align="right">Timezone </div></td>
      <td align="left" class="text"><div align="left">
        <select name="zone" id="zone" class="inputbox">
            {section name=zones loop=$numzones}
                <option value="{$zone[zones].id}">{$zone[zones].offset} Hours</option>
            {/section}
        </select>
      </div></td>
    </tr>
    <tr>
      <th colspan="2" class="bighead"><div align="center">Personal Information</div></th>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">First Name</div></td>
      <td class="text"><div align="left"><input name="firstname" type="text" size="40" class="inputbox" /></div></td>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">Last Name</div></td>
      <td class="text"><div align="left"><input name="lastname" type="text" size="40" class="inputbox" /></div></td>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">Date Of Birth</div></td>
      <td class="text"><div align="left"><input name="dob" type="text" size="40" class="inputbox" /></div></td>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">Telephone Number</div></td>
      <td class="text"><div align="left"><input name="tel" type="text" size="40" class="inputbox" /></div></td>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">Cellphone Number</div></td>
      <td class="text"><div align="left"><input name="cell" type="text" size="40" class="inputbox" /></div></td>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">Address</div></td>
      <td class="text"><div align="left"><textarea name="address" cols="50" rows="5" class="inputbox"></textarea></div></td>
    </tr>
    <tr>
      <td width="41%" class="text"><div align="right">Email Address</div></td>
      <td class="text"><div align="left"><input name="email" type="text" size="60" class="inputbox" /></div></td>
    </tr>
    <tr valign="baseline">
       <td align="right" class="text"><div align="right">Is this user part of the troop?</div></td>
       <td align="left" class="text"><div align="left"><input type="radio" name="troopuser" id="troopuser" value="1" />Yes&nbsp;<input type="radio" name="troopuser" id="troopuser" value="0" />No</div></td>
     </tr>
    <tr>
      <td align="right" class="text"><div align="right">Award Scheme to use:</div></td>
      <td align="left" class="text"><div align="left">
        <select name="scheme" id="scheme" class="inputbox">
            {if $details.troopuser == 0}<option value="0">Not a troop user</option>{/if}
            {section name=awards loop=$numschemes}
                <option value="{$schemes[awards].id}">{$schemes[awards].name} Award Scheme</option>
            {/section}
        </select>
      </div></td>
    </tr>
    <tr>
      <th colspan="2"  align="center" class="bighead"><input type="submit" name="submit" value="Submit" class="button" />
        <input name="Cancel" type="button" id="Cancel" value="Cancel" onclick="window.location='admin.php?page=users';" class="button" /></th>
    </tr>
  </table>
</form>
<div align="center">
 <a href="http://www.cmscout.za.net/index.php?page=subsite&amp;site=Manual&amp;content=adminpanel-adduser" target="_blank">Help</a>
</div>